<%@ page import="java.util.ArrayList" %><%--
  Created by IntelliJ IDEA.
  User: ffx
  Date: 2021/11/6
  Time: 11:25
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" isELIgnored="false" %>
<html>
<head>
    <title>request</title>
</head>
<body>
    <%
        ArrayList<String> list = new ArrayList<>();
        list.add("赵云");
        list.add("黄忠");
        list.add("吕布");
        list.add("貂蝉");
        request.setAttribute("peoples",list);
        request.getRequestDispatcher("/people.jsp").forward(request,response);
    %>
</body>
</html>
    %>
</body>
</html>
